package com.sca.commontest.test.designpattern.decorator;

/**
 * @Author: denglei
 * @Date: 2022/1/4 17:28
 * @Description:
 */
public  class Decorator implements  Human{
    private Human human;

    public Decorator(Human human) {
        this.human = human;
    }

    @Override
    public void wearClothes() {
        human.wearClothes();
    }

    @Override
    public void walkToPlace() {
        human.walkToPlace();
    }
}
